import request from '@/utils/request';


// 图片详情
export function detailsImg(data) {
  return request({
    url: '/system/file/findOneById',
    method: 'post',
    params: data
  })
}

// 图片下载接口
export function uploadImg(data) {
  return request({
    url: '/file/mongod-download/' + data,
    method: 'get'
  })
}
// 文件预览
export function preview(data) {
  return request({
    url: '/system/file/findOneById',
    method: 'post',
    params: data
  })
}